![]() |
MPDeleteQueue |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Deletes a message queue.
OSStatus MPDeleteQueue ( MPQueueID queue );
The ID of the message queue you want to delete.
A result code.
After calling MPDeleteQueue, the specified queue ID becomes invalid, and all internal resources associated with the queue (including queued messages) are reclaimed. Any tasks waiting on the queue are unblocked and their respective MPWaitOnQueue calls will return with the result code kMPDeletedErr.
Also see the function MPCreateQueue.
Introduced with Multiprocessing Services 1.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)